package io.github.junxworks.qt.modules.stock.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import io.github.junxworks.ep.core.orm.BaseMapper;

@Mapper
public interface RecommendMapper extends BaseMapper {
	@Select("select count(1) from d_stock_recommend where ts_code=#{tsCode} and status=0")
	int queryRecommendByTsCode(String tsCode);
}
